legitimizes the method of governance ex post facto